package com.wangzefeng.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangzefeng.shop.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-15
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    SysUser selectOneByUsername(@Param("username") String username);

    List<SysUser> getUserList(Map<String,Object> map);

}
